package data

import "game-server/model"

var InitialHeroes = []model.Hero{
	{
		Name:        "战士",
		Description: "前排坦克，具有高生命值和护甲",
		Rarity:      1,
		BaseHP:      1000,
		BaseATK:     100,
		BaseSpeed:   90,
		Position:    1,
		Skills: []model.Skill{
			{
				Name:        "普通攻击",
				Description: "对单个敌人造成物理伤害",
				Type:        1,
				CD:          0,
				Target:      1,
				Effects:     `[{"type":"damage","ratio":1.0}]`,
			},
			{
				Name:        "盾击",
				Description: "对前排敌人造成伤害并降低其攻击力，持续2回合",
				Type:        2,
				CD:          3,
				Target:      3,
				Effects:     `[{"type":"damage","ratio":1.2},{"type":"debuff","value":-0.2,"duration":2}]`,
			},
			{
				Name:        "铁壁",
				Description: "受到伤害时有概率减免伤害",
				Type:        3,
				CD:          0,
				Target:      0,
				Effects:     `[{"type":"buff","value":0.2,"condition":"when_damaged"}]`,
			},
		},
	},
	{
		Name:        "法师",
		Description: "后排输出，具有强大的法术伤害",
		Rarity:      1,
		BaseHP:      800,
		BaseATK:     120,
		BaseSpeed:   95,
		Position:    2,
		Skills: []model.Skill{
			{
				Name:        "普通攻击",
				Description: "对单个敌人造成魔法伤害",
				Type:        1,
				CD:          0,
				Target:      1,
				Effects:     `[{"type":"damage","ratio":1.0}]`,
			},
			{
				Name:        "火球术",
				Description: "对所有敌人造成魔法伤害",
				Type:        2,
				CD:          4,
				Target:      5,
				Effects:     `[{"type":"damage","ratio":1.5}]`,
			},
			{
				Name:        "法力涌动",
				Description: "每次施放技能增加法术强度",
				Type:        3,
				CD:          0,
				Target:      0,
				Effects:     `[{"type":"buff","value":0.1,"duration":2,"condition":"after_skill"}]`,
			},
		},
	},
	{
		Name:        "射手",
		Description: "后排物理输出，具有持续稳定的输出能力",
		Rarity:      1,
		BaseHP:      700,
		BaseATK:     130,
		BaseSpeed:   100,
		Position:    2,
		Skills: []model.Skill{
			{
				Name:        "普通攻击",
				Description: "对单个敌人造成物理伤害",
				Type:        1,
				CD:          0,
				Target:      1,
				Effects:     `[{"type":"damage","ratio":1.0}]`,
			},
			{
				Name:        "穿心箭",
				Description: "对后排敌人造成高额伤害",
				Type:        2,
				CD:          3,
				Target:      2,
				Effects:     `[{"type":"damage","ratio":2.0}]`,
			},
			{
				Name:        "连珠箭",
				Description: "攻击时有概率发动追加攻击",
				Type:        3,
				CD:          0,
				Target:      0,
				Effects:     `[{"type":"buff","value":0.3,"condition":"on_attack"}]`,
			},
		},
	},
	{
		Name:        "刺客",
		Description: "后排突袭，擅长暗杀和高爆发伤害",
		Rarity:      2,
		BaseHP:      600,
		BaseATK:     150,
		BaseSpeed:   120,
		Position:    2,
		Skills: []model.Skill{
			{
				Name:        "普通攻击",
				Description: "对单个敌人造成物理伤害",
				Type:        1,
				CD:          0,
				Target:      1,
				Effects:     `[{"type":"damage","ratio":1.0}]`,
			},
			{
				Name:        "暗影突袭",
				Description: "对后排单体目标造成巨额伤害，并降低其防御",
				Type:        2,
				CD:          3,
				Target:      2,
				Effects:     `[{"type":"damage","ratio":2.5},{"type":"debuff","value":-0.3,"duration":2}]`,
			},
			{
				Name:        "疾风步",
				Description: "提高自身速度和暴击率",
				Type:        3,
				CD:          0,
				Target:      0,
				Effects:     `[{"type":"buff","value":0.2,"condition":"battle_start"}]`,
			},
		},
	},
	{
		Name:        "牧师",
		Description: "后排治疗，提供强大的治疗和增益效果",
		Rarity:      2,
		BaseHP:      650,
		BaseATK:     80,
		BaseSpeed:   85,
		Position:    2,
		Skills: []model.Skill{
			{
				Name:        "普通攻击",
				Description: "对单个敌人造成魔法伤害",
				Type:        1,
				CD:          0,
				Target:      1,
				Effects:     `[{"type":"damage","ratio":0.8}]`,
			},
			{
				Name:        "群体治疗",
				Description: "恢复所有友军生命值",
				Type:        2,
				CD:          4,
				Target:      5,
				Effects:     `[{"type":"heal","ratio":1.2}]`,
			},
			{
				Name:        "祝福光环",
				Description: "持续恢复友军生命值",
				Type:        3,
				CD:          0,
				Target:      0,
				Effects:     `[{"type":"heal","value":0.1,"duration":999,"condition":"turn_end"}]`,
			},
		},
	},
	{
		Name:        "圣骑士",
		Description: "前排坦克，能够保护队友并提供增益",
		Rarity:      3,
		BaseHP:      1200,
		BaseATK:     90,
		BaseSpeed:   80,
		Position:    1,
		Skills: []model.Skill{
			{
				Name:        "普通攻击",
				Description: "对单个敌人造成物理伤害",
				Type:        1,
				CD:          0,
				Target:      1,
				Effects:     `[{"type":"damage","ratio":1.0}]`,
			},
			{
				Name:        "神圣守护",
				Description: "为所有友军提供护盾",
				Type:        2,
				CD:          4,
				Target:      5,
				Effects:     `[{"type":"buff","value":0.3,"duration":2}]`,
			},
			{
				Name:        "圣光庇护",
				Description: "受到致命伤害时，保护生命值最低的队友",
				Type:        3,
				CD:          0,
				Target:      0,
				Effects:     `[{"type":"buff","value":0.5,"condition":"ally_critical"}]`,
			},
		},
	},
	{
		Name:        "元素法师",
		Description: "后排法师，掌控元素魔法的强大输出",
		Rarity:      3,
		BaseHP:      750,
		BaseATK:     140,
		BaseSpeed:   88,
		Position:    2,
		Skills: []model.Skill{
			{
				Name:        "普通攻击",
				Description: "对单个敌人造成魔法伤害",
				Type:        1,
				CD:          0,
				Target:      1,
				Effects:     `[{"type":"damage","ratio":1.0}]`,
			},
			{
				Name:        "元素风暴",
				Description: "对所有敌人造成持续性魔法伤害",
				Type:        2,
				CD:          5,
				Target:      5,
				Effects:     `[{"type":"damage","ratio":1.8},{"type":"damage","value":0.3,"duration":3}]`,
			},
			{
				Name:        "元素亲和",
				Description: "每次施放技能增加魔法伤害",
				Type:        3,
				CD:          0,
				Target:      0,
				Effects:     `[{"type":"buff","value":0.15,"duration":2,"condition":"after_skill"}]`,
			},
		},
	},
}
